package com.oa.modules.approvalsec1.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: Hankaicheng
 * @Date: 2022/5/25 10:37
 */
@Data
public class SmsEntity {

    @ApiModelProperty("企业名称")
    private String ecName;

    private String secretKey;

    @ApiModelProperty("接口账号用户名")
    private String apId;

    @ApiModelProperty("收信手机号码，多个逗号分隔")
    private String mobiles;

    @ApiModelProperty("短信内容")
    private String content;

    @ApiModelProperty("签名编码")
    private String sign;

    @ApiModelProperty("扩展码")
    private String addSerial;

    @ApiModelProperty("参数校验序列")
    private String mac;


    public SmsEntity(String ecName, String secretKey, String apId, String mobiles, String content, String sign, String addSerial) {
        this.ecName = ecName;
        this.secretKey = secretKey;
        this.apId = apId;
        this.mobiles = mobiles;
        this.content = content;
        this.sign = sign;
        this.addSerial = addSerial;
    }

    @Override
    public String toString() {
        return this.ecName + this.apId + this.secretKey + this.mobiles + this.content + this.sign + this.addSerial;
    }
}
